package com.halixun.d2app.bean.requestbean;

import java.util.List;

/**
 * @ProjectName: D2App
 * @Package: com.halixun.d2app.bean.requestbean
 * @ClassName: RequestOrderCodeParam
 * @Description: java类作用描述
 * @Author: hdx
 * @CreateDate: 2019/11/29 17:36
 * @UpdateUser: hdx
 * @UpdateDate: 2019/11/29 17:36
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class RequestOrderCodeParam {
    /**
     * tableId : 0
     * orderId :
     * items : [{"OrderId":null,"ProductID":23,"ProductName":"鸡蛋","OldPrice":0.01,"Price":0.01,"ProductCount":1,"Remark":null,"SumPrice":0.01,"ClassID":20,"ClassName":"米饭","Unit":"份","IsNoDiscount":false}]
     */

    private int tableId;
    private String orderId;
    private List<ItemsBean> items;

    public int getTableId() {
        return tableId;
    }

    public void setTableId(int tableId) {
        this.tableId = tableId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        /**
         * OrderId : null
         * ProductID : 23
         * ProductName : 鸡蛋
         * OldPrice : 0.01
         * Price : 0.01
         * ProductCount : 1
         * Remark : null
         * SumPrice : 0.01
         * ClassID : 20
         * ClassName : 米饭
         * Unit : 份
         * IsNoDiscount : false
         */

        private Object OrderId;
        private int ProductID;
        private String ProductName;
        private double OldPrice;
        private double Price;
        private int ProductCount;
        private Object Remark;
        private double SumPrice;
        private int ClassID;
        private String ClassName;
        private String Unit;
        private boolean IsNoDiscount;

        public Object getOrderId() {
            return OrderId;
        }

        public void setOrderId(Object OrderId) {
            this.OrderId = OrderId;
        }

        public int getProductID() {
            return ProductID;
        }

        public void setProductID(int ProductID) {
            this.ProductID = ProductID;
        }

        public String getProductName() {
            return ProductName;
        }

        public void setProductName(String ProductName) {
            this.ProductName = ProductName;
        }

        public double getOldPrice() {
            return OldPrice;
        }

        public void setOldPrice(double OldPrice) {
            this.OldPrice = OldPrice;
        }

        public double getPrice() {
            return Price;
        }

        public void setPrice(double Price) {
            this.Price = Price;
        }

        public int getProductCount() {
            return ProductCount;
        }

        public void setProductCount(int ProductCount) {
            this.ProductCount = ProductCount;
        }

        public Object getRemark() {
            return Remark;
        }

        public void setRemark(Object Remark) {
            this.Remark = Remark;
        }

        public double getSumPrice() {
            return SumPrice;
        }

        public void setSumPrice(double SumPrice) {
            this.SumPrice = SumPrice;
        }

        public int getClassID() {
            return ClassID;
        }

        public void setClassID(int ClassID) {
            this.ClassID = ClassID;
        }

        public String getClassName() {
            return ClassName;
        }

        public void setClassName(String ClassName) {
            this.ClassName = ClassName;
        }

        public String getUnit() {
            return Unit;
        }

        public void setUnit(String Unit) {
            this.Unit = Unit;
        }

        public boolean isIsNoDiscount() {
            return IsNoDiscount;
        }

        public void setIsNoDiscount(boolean IsNoDiscount) {
            this.IsNoDiscount = IsNoDiscount;
        }
    }
}
